<template>
    <div class="header">
      <router-link to="/">
        <div class="header-left">
          <div class="iconfont back-icon">&#xe624;</div>
        </div>
      </router-link>
      <h1 class="header-tit">城市选择</h1>
    </div>
</template>

<script>
export default {
  name: 'CityHeader'
}
</script>

<style lang="stylus" scoped>
@import '~styles/mixin.styl'
@import '~styles/varibles.styl'
  .header
    height 0.68rem
    line-height 0.68rem
    color #ffffff
    background $bgColor
    position relative
    .header-tit
      margin 0 1rem
      text-align center
      ellipsis()
    .header-left
      color #fff
      position absolute
      top 0
      left 0
      .back-icon
        text-align center
        font-size 0.36rem
        width: .8rem;
</style>
